package com.hw.mapper.basic;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hw.entity.po.basic.Food;
import com.hw.entity.vo.basic.FoodVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单 Mapper
 *
 * @author whw
 * @date 2021-06-21
 */
public interface FoodMapper extends BaseMapper<Food> {

    /**
     * 获取分页列表
     *
     * @param queryWrapper
     * @return
     */
    List<FoodVO> list(@Param(Constants.WRAPPER) QueryWrapper<Food> queryWrapper);
}
